<?php

class Main extends Controller {

    public function GET_index() {
        if (isset($this->user)) {
            $this->view('main/index');
        } else {
            $this->view('home/index');
        }
    }

}
